package com.myway.dto.vo;

import com.myway.pojo.FlyPassenge;
import com.myway.pojo.FlyPassengerSegment;
import com.myway.pojo.FlyPnr;
import lombok.*;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @ClassName FlyPassengeDetailsVo
 * @Description: 乘客详情
 * @Auther: MaShuai
 * @Date: 2018/9/26 8:37
 * @Version 1.0
 */

@NoArgsConstructor
@Getter
@Setter
@ToString
public class FlyPassengeDetailsVo extends FlyPassenge implements Serializable {

    private FlyPnr flyPnr;
    private List<FlyPassengerSegment> flyPassengerSegments;


    public FlyPassengeDetailsVo(Long id, String cusromerIds, String number, Long pnrId, String passageType, Long accompany, String moblePhone, String name, String cardType, String cardNo, Integer isFlightsms, Integer orderBy, Date setDate, Date updateDate, String cateror, String code, String insure, Date passgeBirth, String xingE, String mingE, String userId, String passgeBirthDate,FlyPnr flyPnr, List<FlyPassengerSegment> flyPassengerSegments) {
        super(id, cusromerIds, number, pnrId, passageType, accompany, moblePhone, name, cardType, cardNo, isFlightsms, orderBy, setDate, updateDate, cateror, code, insure, passgeBirth, xingE, mingE, userId,passgeBirthDate);
        this.flyPnr = flyPnr;
        this.flyPassengerSegments = flyPassengerSegments;
    }

    public FlyPassengeDetailsVo(FlyPnr flyPnr, List<FlyPassengerSegment> flyPassengerSegments) {
        this.flyPnr = flyPnr;
        this.flyPassengerSegments = flyPassengerSegments;
    }
}
